package com.tsingtree.modular.service;

import com.tsingtree.modular.entity.NanUserDevice;
import com.tsingtree.modular.model.params.NanUserDeviceParam;
import com.tsingtree.modular.model.result.NanUserDeviceResult;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
import com.tsingtree.base.pojo.page.LayuiPageInfo;

/**
 * <p>
 * 用户设备 服务类
 * </p>
 *
 * @author jagger
 * @since 2023-08-29
 */
public interface NanUserDeviceService extends IService<NanUserDevice> {

    /**
     * 新增
     *
     * @author jagger
     */
    void add(NanUserDeviceParam param);

    /**
     * 删除
     *
     * @author jagger
     */
    void delete(NanUserDeviceParam param);

    /**
     * 更新
     *
     * @author jagger
     */
    void update(NanUserDeviceParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author jagger
     */
    NanUserDeviceResult findBySpec(NanUserDeviceParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author jagger
     */
    List<NanUserDeviceResult> findListBySpec(NanUserDeviceParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author jagger
     */
     LayuiPageInfo findPageBySpec(NanUserDeviceParam param);

}
